<layout name='layout' />

<div class="admin-main">
	<form id="ajaxForm" class="layui-form" method="post" action="<{:U('Setting/insert')}>">
		<fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
			<legend>支付宝</legend>
		</fieldset>
		<div class="layui-form-item">
			<label class="layui-form-label">支付宝帐户</label>
			<div class="layui-input-block">
				<input type="text" name="ALIPAY_EMAIL" value="<{:C('ALIPAY_EMAIL')}>" class="layui-input">
			</div>
		</div>

		<div class="layui-form-item">
			<label class="layui-form-label">安全校验码(Key)</label>
			<div class="layui-input-block">
				<input type="text" name="ALIPAY_KEY" value="<{:C('ALIPAY_KEY')}>" class="layui-input">
			</div>
		</div>	

		<div class="layui-form-item">
			<label class="layui-form-label">合作者身份(Pid)</label>
			<div class="layui-input-block">
				<input type="text" name="ALIPAY_PARTNER" value="<{:C('ALIPAY_PARTNER')}>" class="layui-input">
			</div>
		</div>	

		<div class="layui-form-item">
			<label class="layui-form-label">通知URL</label>
			<div class="layui-input-block">
				<input type="text" name="WEB_ALIPAY_NOTIFY" value="<{:C('WEB_ALIPAY_NOTIFY')}>" class="layui-input">
			</div>
		</div>	

		<div class="layui-form-item">
			<label class="layui-form-label">支付成功跳转</label>
			<div class="layui-input-block">
				<input type="text" name="WEB_ALIPAY_RETURN" value="<{:C('WEB_ALIPAY_RETURN')}>" class="layui-input">
			</div>
		</div>	

		<div class="layui-form-item">
			<label class="layui-form-label">手机通知URL</label>
			<div class="layui-input-block">
				<input type="text" name="WAP_ALIPAY_NOTIFY" value="<{:C('WAP_ALIPAY_NOTIFY')}>" class="layui-input">
			</div>
		</div>	

		<div class="layui-form-item">
			<label class="layui-form-label">手机成功跳转</label>
			<div class="layui-input-block">
				<input type="text" name="WAP_ALIPAY_RETURN" value="<{:C('WAP_ALIPAY_RETURN')}>" class="layui-input">
			</div>
		</div>

		<fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
			<legend>微信支付</legend>
		</fieldset>

		<div class="layui-form-item">
			<label class="layui-form-label">appID</label>
			<div class="layui-input-block">
				<input type="text" name="APP_ID" value="<{:C('APP_ID')}>" class="layui-input">
			</div>
		</div>

		<div class="layui-form-item">
			<label class="layui-form-label">APP_SECRET</label>
			<div class="layui-input-block">
				<input type="text" name="APP_SECRET" value="<{:C('APP_SECRET')}>" class="layui-input">
			</div>
		</div>

		<div class="layui-form-item">
			<label class="layui-form-label">支付密匙</label>
			<div class="layui-input-block">
				<input type="text" name="mch_key" value="<{:C('mch_key')}>" class="layui-input">
			</div>
		</div>

		<div class="layui-form-item">
			<label class="layui-form-label">商户ID</label>
			<div class="layui-input-block">
				<input type="text" name="mch_id" value="<{:C('mch_id')}>" class="layui-input">
			</div>
		</div>	

		<div class="layui-form-item">
			<label class="layui-form-label">通知URL</label>
			<div class="layui-input-block">
				<input type="text" name="WAP_WXPAY_NOTIFY" value="<{:C('WAP_WXPAY_NOTIFY')}>" class="layui-input">
			</div>
		</div>	

		<div class="layui-form-item">
			<div class="layui-input-block">
				<button type="submit" class="layui-btn" lay-submit="" lay-filter="demo1">立即提交</button>
			</div>
		</div>
		<input type="hidden" name="files" value="pay.php" />
	</form>
</div>